package cn.iocoder.yudao.module.bpm.convert.tohandle.flow;

import cn.iocoder.yudao.framework.common.pojo.PageResult;
import cn.iocoder.yudao.module.bpm.controller.admin.tohandle.flow.vo.*;
import cn.iocoder.yudao.module.bpm.dal.dataobject.tohandle.BpmHandleFlowDO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * 审批流待办中心——流程flow表 Convert
 *
 * @author 芋道源码
 */
@Mapper
public interface BpmHandleFlowConvert {

    BpmHandleFlowConvert INSTANCE = Mappers.getMapper(BpmHandleFlowConvert.class);

    BpmHandleFlowDO convert(BpmHandleFlowCreateReqVO bean);

    BpmHandleFlowDO convert(BpmHandleFlowUpdateReqVO bean);

    BpmHandleFlowRespVO convert(BpmHandleFlowDO bean);

    List<BpmHandleFlowRespVO> convertList(List<BpmHandleFlowDO> list);

    PageResult<BpmHandleFlowRespVO> convertPage(PageResult<BpmHandleFlowDO> page);

    List<BpmHandleFlowExcelVO> convertList02(List<BpmHandleFlowDO> list);

}
